<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>分区元素</title>
    <style>
        div {
            border: 1px solid red
        }
    </style>

</head>
<body>
<!--div 独占一行-->
<div>div1</div>
<div>div2</div>
<div>div3</div>
<!--span 共占一行-->
<span>span1</span>
<span>span2</span>
<span>span3</span>

<!--HTML5中新增了几个分区标签,作用和div一样-->
<header></header>
<section></section>
或
<article></article>
<footer></footer>


</body>
</html>